package com.origin.oss.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * @author yezh
 * @date 2024/2/5 16:03
 */
@TableName("image_info")
@Data
public class ImageInfo {

    @Id
    @TableId(value = "image_id", type = IdType.AUTO)
    private Long imageId;

    /**
     * 文件 id
     */
    @TableField("file_id")
    private String fileId;

    /**
     * 图像的宽
     */
    @TableField("image_width")
    private Integer imageWidth;

    /**
     * 图像的高
     */
    @TableField("image_height")
    private Integer imageHeight;

}
